package app.vendorportal.api.data;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

/**
 * @author Bribin
 */
@XmlRootElement(name = "warehouse-status-info")
@XmlAccessorType(XmlAccessType.FIELD)
public class WarehouseStatusInfo {

    @XmlElement(name = "warehouse-code")
    private String warehouseCode;

    @XmlElement(name = "vendor-number")
    private String vendorNumber;

    @XmlElement(name = "available")
    private boolean available;

    @XmlElement(name = "postal-code")
    private String postalCode;

    public String getWarehouseCode() {
        return warehouseCode;
    }

    public void setWarehouseCode(String warehouseCode) {
        this.warehouseCode = warehouseCode;
    }

    public String getVendorNumber() {
        return vendorNumber;
    }

    public void setVendorNumber(String vendorNumber) {
        this.vendorNumber = vendorNumber;
    }

    public boolean isAvailable() {
        return available;
    }

    public void setAvailable(boolean available) {
        this.available = available;
    }

    public String getPostalCode() {
        return postalCode;
    }

    public void setPostalCode(String postalCode) {
        this.postalCode = postalCode;
    }

}
